<?php
require_once 'config.php';

$register = new U1_Account_Connexion();
if ($register->isSubmit() && $register->isValid())
{
	U1_Player::getInstanceDb();
	if (!$register->open())
		echo 'Les données fournies ne sont pas valide.';
}

echo $register->render(DIR_VIEW.'Account/Connexion.php');
var_dump($register->isSubmit(), $register->isValid(), $register->getMessages());